package com.example.learnspring.mapper;

import com.example.learnspring.entity.Emp;
import com.example.learnspring.entity.EmpParam;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface EmpMapper {

    public List<Emp> empList(EmpParam empParam);

    public Integer saveEmp(Emp emp);

    public Emp getSelectById(Integer id);
}
